import { Entity, Column, PrimaryColumn, PrimaryGeneratedColumn } from 'typeorm';

@Entity({name: 'address'})
export class Address {
  @PrimaryGeneratedColumn({name: 'id'})
  id: number;

  @Column()
  name: string;

  @Column()
  longitude: number;

  @Column()
  latitude: number;

	@Column({
		name: 'a_range'
	})
	aRange: number
}